<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:include="include/head">
</head>
<body>
	<form id="winForm">
	 	<input type="hidden"  name="id"  th:value="${userPower.id}"/>
	 	<input type="hidden"  name="userId"  th:value="${userId}"/>
		<table>
			<tr>
				<td>表名：</td>
				<td>
					<input class="easyui-textbox" name="tableName"  th:value="${userPower.tableName}"/>
				</td>
			</tr>
			<tr>
				<td>字段：</td>
				<td>
					<input class="easyui-textbox" name="columnName"  th:value="${userPower.columnName}"/>
				</td>
			</tr>
			<tr>
				<td>类型：</td>
				<td>
					<select class="easyui-combobox" name="showType" style="width: 170px;">
						<option th:each="category:${userPowerType}" th:value="${category.key}" th:text="${category.value}" th:selected="${userPower.showType eq category.key}" >名称</option>
					</select>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<a href="javascript:addUserColumnPower('../user/saveOrUpdateUserColumnPower')" class="easyui-linkbutton" iconCls="icon-add" >确定</a>
					<a href="javascript:$('#dd').dialog('close');" class="easyui-linkbutton" iconCls="icon-cancel">关闭</a>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>